let a:number=100
a=10
// a='100'

let b:string='bbb'
b='asda'
// b=123


let c:30=30
// c=12


let d:'ddd'="ddd"
// d=123
// d='aaa'
d="ddd"


let e:'男'|'女'|'未知'
e='未知'


console.log(a,b,c,d,e);
console.log(typeof(a));


let f:any
f=13
f='456'
f=()=>{

}


let g:object=()=>{}
g={}
g=[]

function h():void{

}

function i():never{
  throw new Error("");
}

let j:number[]
j=[a,1,2,3]
// j[2]='a'


